import router from 'umi/router';
import styles from './index.css'

export default () => {
  return (
    <div className={styles.error}>
      <h1>/404（404错误页）</h1>
      <button type="button" onClick={
        () => {
          router.push('/');
        }
      }>首页
      </button>
    </div>
  );
}
